//
//  LemonBaseView.swift
//  LeGou
//
//  Created by lxm on 2022/10/8.
//

import UIKit

class LemonBaseView: UIView {

    //MARK: --------------------属性--------------------
    var disposeBag = DisposeBag()
    
    var onLayoutSubviews : (()->())?
    //MARK: --------------------UI控件--------------------
    
    //MARK: --------------------生命周期--------------------
    override init(frame: CGRect) {
        super.init(frame: frame)
    }
    
    required init?(coder: NSCoder) {
        super.init(coder: coder)
    }
    
    override func awakeFromNib() {
        super.awakeFromNib()
    }
    
    override func layoutSubviews() {
        super.layoutSubviews()
        if let onLayoutSubviews = onLayoutSubviews {
            onLayoutSubviews()
        }
    }
}
